package trlygjj.tanruiliyigenjinjin.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 正式学员表
 */
@Getter
@Setter
public class ProfessionalStuent {
    /**
     * 退学
     */
    public static final int STATE_LEAVE = 0;
    /**
     * 在读
     */
    public static final int STATE_READING = 1;
    /**
     * 转班中
     */
    public static final int STATE_TRANSFER = 2;
    /**
     * 休学
     */
    public static final int STATE_QUIT = 3;

    private Long id;
    /**
     * 学员名字
     */
    private String name;
    /**
     * 学员年龄
     */
    private Integer age;
    //性别
    private Integer gender;
    //电话
    private String tell;
    //qq
    private String qq;
    //邮箱
    private String email;
    //学校或者培训名称
    private String school;
    //学校客户 111
    private BigClient  schoolCustomer;
    //学历 1111
    private DataDictionaryItem education;
    //学员地址
    private String address;
    // 客户来源 1111
    private DataDictionaryItem customerSource;
    //当前的状态
    private int currentState;
    //工作年限
    private Integer workSeniority;
    //班级
    private Grade interestClass;
    //营销人员
    private Employee marketer;
    //意向校区  111
    private DataDictionaryItem interestCampu;
    //转正时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date positiveDate;
    //身份证号码
    private Integer idNumber;
    //紧急联系人
    private String emergencyman;
    //紧急人联系电话
    private Integer emergencytel;
    //就业意向 111
    private DataDictionaryItem intentionjob;
    //工作经历
    private String workExperience;
    //支付方式 111
    private DataDictionaryItem payment;

    /**
     * 学员状态
     */
    private Integer state = STATE_READING;

    /**
     * 缴费对象
     */
    private Tuition tuition;


}










































